package com.sunyur.tailor.channel.service.inner.settle.service;

import com.sunyur.tailor.channel.common.middle.base.ChannelListResult;
import com.sunyur.tailor.channel.common.middle.base.ChannelResult;
import com.sunyur.tailor.channel.service.inner.settle.model.SettleItemModel;
import com.sunyur.tailor.channel.service.inner.settle.model.SettleOrderItemModel;
import com.sunyur.tailor.channel.service.inner.settle.param.SettleItemCreateParam;
import com.sunyur.tailor.channel.service.inner.settle.param.SettleItemParam;
import com.sunyur.tailor.channel.service.inner.settle.param.SettleOrderItemParam;

/**
 * @Author: HuBaoding
 * @Description:流水信息 相关service
 * @Date: Created in 16:23 2021/5/17
 */
public interface SunyurSettleOrderInfoService {
    /**
     * 根据指定流水号，返回符合条件的应付流水列表结果
     * @param param
     * @return
     */
    ChannelListResult<SettleOrderItemModel> listSettleOrderItemByCodes(SettleOrderItemParam param);

    /**
     *
     * @Author 99288
     * @Description 批量获取应付流水信息
     * @Date 11:27 2021/11/2
     * @WIKI http://doc.sunyur.com/pages/viewpage.action?pageId=155615403
     * @Param   起止时间、来源单号
     * @return  应付流水
     **/
    ChannelListResult<SettleItemModel> settleItem(SettleItemParam param);

    /**
     *
     * @Author xuhui
     * @Description 25-外部流水创建
     * @Date 11:27 2021/11/2
     * @WIKI http://doc.sunyur.com/pages/viewpage.action?pageId=410288194
     **/
    ChannelResult<Boolean> create(SettleItemCreateParam param);
}
